/*
 * 文件名：CustManaTransaction.java
 * 版权：Copyright by www.wootide.com
 * 描述：
 * 修改人：Administrator
 * 修改时间：2013-2-21
 * 跟踪单号：
 * 修改单号：
 * 修改内容：
 */
package com.wootide.cms.service.customer.custmanager.transaction;

import com.wootide.cms.common.Page;
import com.wootide.cms.common.QueryCondition;
import com.wootide.cms.common.QueryResults;
import com.wootide.cms.service.customer.custmanager.pojo.ClientLevel;
import com.wootide.cms.service.customer.custmanager.pojo.Customer;

public interface CustManagerTransaction
{
    /**
     * Description: 增加新客户信息<br>
     * Implement: <br>
     * @param customer
     * @see
     * @return void
     * @author Administrator
     */
    public void addCustomer(Customer customer);
    
    /**
     * Description: 分页查询<br>
     * Implement: <br>
     * @param page：分页参数（默认配置参数）
     * @param queryConditon:查询条件
     * @return
     * @see
     * @return QueryResults
     * @author Administrator
     */
    public QueryResults queryForPages(Page page, QueryCondition queryConditon);
    
    Customer viewOneCustomer(Integer innerIndex);
    
    public QueryResults queryCustomerLevel(QueryCondition queryConditon);
    
    public void addClientLevel(ClientLevel clientLevel);
    
    Customer delOneCustomer(Integer innerIndex);
    
    Customer modOneCustomer(Customer customer);
    
    ClientLevel viewOneLevel(Integer innerIndex);
    
    ClientLevel modOneLevel(ClientLevel clientLevel);
    
    ClientLevel delOneClientLevel(Integer innerIndex);
    
    Customer lostOneCustomer(Customer customer);
    
    public QueryResults queryLevelForPages(Page page, QueryCondition queryConditon);
    
}
